
<?php

if (isset($_GET['admin']))  // ADD SESSION
{
?>    
    <h3>Admin Panel</h3>
    <p><a href="http://lsc/index.php?admin=1&parameter=addarticle"> add article </a></p>
      
<?php   
    
    if (isset($_GET['parameter']) && $_GET['parameter'] == 'addarticle') 
    include_once "addarticle.php";
    else
    include_once "addquestions.php";
    
    
    
    
    
}



?>